<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>黑马面面</title>
    <!-- 引入初始化样式 -->
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <!-- 引入swiper css文件 -->
    <link rel="stylesheet" href="css/swiper.css">
    <!-- 引入js -->
    <script src="js/lib-flexible-2.0/flexible.js"></script>
    <!-- 引入swiper.js文件 -->
    <script src="js/swiper.js"></script>
</head>

<body>
    <!-- 头部区域 -->
    <div class="header">黑马面面</div>


    <section class="section">
        <!-- 导航栏部分 -->
        <div class="nav">
            <a href="#">
                <img src="images/focus3.jpg" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="images/focus2.jpg" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="images/focus2.jpg" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="images/focus2.jpg" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="images/focus2.jpg" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="images/focus2.jpg" alt="">
                <span>HR面试</span>
            </a>

        </div>

        <!-- go 模块 -->
        <div class="go">
            <img src="images/focus2.jpg" alt="">
        </div>
    </section>

    <!-- 就业指导模块 -->
    <div class="content">
        <div class="con-hd">
            <h4> <img src="images/focus5.jpg" alt=""> 就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 轮播图模块 -->
        <div class="focus">
            <!-- Swiper -->
            <div class="swiper-container swiper-one">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="images/focus6.jpg" alt="">
                        <p>老师教你应对</p>
                    </div>
                    <div class="swiper-slide"><img src="images/focus1.jpg" alt="">
                        <p>老师教你应对</p>
                    </div>
                    <div class="swiper-slide"><img src="images/focus2.jpg" alt="">
                        <p>老师教你应对</p>
                    </div>
                    <div class="swiper-slide"><img src="images/focus3.jpg" alt="">
                        <p>老师教你应对</p>
                    </div>
                    <div class="swiper-slide"><img src="images/focus4.jpg" alt="">
                        <p>老师教你应对</p>
                    </div>
                </div>
            </div>
            <!-- Add Arrows -->
            <!-- 把箭头拿出来 父盒子加定位 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>

        </div>
        <div class="con-hd">
            <h4> <img src="images/focus5.jpg" alt=""> 充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container swiper-tow">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="" alt="">
                        <h5>鱼鱼多是多爱到是啊金黄</h5>
                        <p>360</p>
                    </div>
                    <div class="swiper-slide"><img src="" alt="">
                        <h5>鱼鱼多是多爱到是啊金黄</h5>
                        <p>360</p>
                    </div>
                    <div class="swiper-slide"><img src="" alt="">
                        <h5>鱼鱼多是多爱到是啊金黄</h5>
                        <p>360</p>
                    </div>
                    <div class="swiper-slide"><img src="" alt="">
                        <h5>鱼鱼多是多爱到是啊金黄</h5>
                        <p>360</p>
                    </div>
                    <div class="swiper-slide"><img src="" alt="">
                        <h5>鱼鱼多是多爱到是啊金黄</h5>
                        <p>360</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>

        </div>
    </div>

    <!-- 底部 -->
    <div class="footer">
        <a href="#">
            <img src="images/focus5.jpg" alt="">
            <span>首页</span>
        </a>
        <a href="#">
            <img src="images/focus5.jpg" alt="">
            <span>首页</span>
        </a>
        <a href="#">
            <img src="images/focus5.jpg" alt="">
            <span>首页</span>
        </a>
        <a href="#">
            <img src="images/focus5.jpg" alt="">
            <span>首页</span>
        </a>
    </div>


    <!-- Initialize Swiper -->
    <script>
        // 第一个轮播图
        (function() {
            var swiper = new Swiper('.swiper-one', {
                // 显示照片数量是两张，又有两张个显示一半加起来是一张
                slidesPerView: 2,
                // 每一个slide之间的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                nextButton: '.swiper-button-next',
                prevButton: '.swiper-button-prev',
            });
        })();

        // 第二个轮播图
        (function() {
            // 页面中有多个轮播图，就要再起一个类名
            var swiper = new Swiper('.swiper-tow', {
                slidesPerView: 2.4,
                spaceBetween: 30,
            });
        }())
    </script>

</body>

</html>